-
Notifications
You must be signed in to change notification settings - Fork 43
feat(r/sedonadb): Add R bindings #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5f13c9b to
1b54523
Compare
4815c34 to
42944e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive R bindings for Apache SedonaDB, providing R users with access to a lightweight spatial query engine with SQL capabilities and Arrow-based interoperability. The implementation includes full test coverage and CI support for macOS and Linux platforms.
Key changes:
- R package structure with Rust backend integration using savvy framework
- Spatial data processing capabilities with Arrow/nanoarrow integration
- Test suite covering dataframes, contexts, and ADBC driver functionality
Reviewed Changes
Copilot reviewed 51 out of 57 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| r/sedonadb/tests/testthat/*.R | Comprehensive test suite for dataframe operations, context management, and ADBC driver |
| r/sedonadb/src/rust/src/*.rs | Rust implementation providing core functionality for contexts, dataframes, and runtime management |
| r/sedonadb/src/*.c, *.h | C interface and initialization code for R integration |
| r/sedonadb/R/*.R | R package code implementing user-facing API and S3 methods |
| r/sedonadb/man/*.Rd | Documentation files for exported functions |
| r/sedonadb/DESCRIPTION, NAMESPACE | Package metadata and exported functions |
| .github/workflows/r.yml | CI configuration for testing R package on multiple platforms |
| Cargo.toml | Updated workspace to include R package's Rust components |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
This PR adds R bindings to sedonadb. The exposed functionality is slightly less than that of Python but has generally the same scope (SQL, Arrow-based interop with the rest of the ecosystem). This works (and is tested on CI) for MacOS and Linux...Windows I ran into some trouble with and is a battle for a different day.